package com.qujia.station.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @date 2024/1/30
 */
@Getter
@Setter
@ApiModel("unite_pay_order_rel")
public class UnitePayOrderRel implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    @ApiModelProperty("id")
    private Long id;

    /**
     * 油企id
     */
    @ApiModelProperty("油企id")
    private Long enterpriseId;

    /**
     * 联和订单号,unite_pay_order表unite_order_no
     */
    @ApiModelProperty("订单号，第三方平台订单号")
    private String uniteOrderNo;

    /**
     * 消费订单号,pay_order表订单号
     */
    @ApiModelProperty("状态，0-未支付，1-已支付，2-部分退款")
    private String orderNo;

    /**
     * create_time
     */
    @ApiModelProperty("create_time")
    private LocalDateTime createTime;
}
